#pragma once

// CPalInfoDlgBar

class CPalInfoDlgBar : public CDialogBar
{
	DECLARE_DYNAMIC(CPalInfoDlgBar)

public:
	CPalInfoDlgBar();
	virtual ~CPalInfoDlgBar();

	void UpdatePalInfo( int nCurrent, int nTotal );
	int GetCurrentPalIndex();

protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
};



// CPalFrame

class CPalFrame : public CMDIChildWnd
{
	DECLARE_DYNCREATE(CPalFrame)

public:
	CPalFrame();
	virtual ~CPalFrame();

	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);

	void UpdatePalInfo( int nCurrent, int nTotal );
	int GetCurrentPalIndex();

protected:
	CPalInfoDlgBar m_wndToolBar;

protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);

};



